<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/11/22,0022
  Time: 9:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>修改</title>
</head>
<body>
    <form action="/UpdateMusicController" method="get">
        <input type="hidden" name="mid" value="${music.mid}">
        <table border="1px black">
            <tr>
                <td>歌名</td>
                <td><input type="text" name="name" value="${music.name}"></td>
            </tr>
            <tr>
                <td>歌手</td>
                <td>
                    <c:forEach items="${list}" var="list">
                        <input type="checkbox" name="sid" value="${list.sid}" >${list.sname}
                    </c:forEach>
                </td>
            </tr>
            <tr>
                <td>专辑</td>
                <td><input type="text" name="album" value="${music.album}"></td>
            </tr>
            <tr>
                <td><input type="submit" value="修改"></td>
            </tr>
        </table>
    </form>
</body>
</html>
